package com.jz.pay.consumer;

public enum TopicType {

    LOG("jz_log","jz_log_retry","_log_group","_log_retry_group"),
    USER("jz_user","jz_user_retry","_user_group","_user_retry_group");

    private final String value;
    private final String retry;
    private final String group;
    private final String retryGroup;

    TopicType(String value,String retry,String group,String retryGroup){
        this.value = value;
        this.retry = retry;
        this.group = group;
        this.retryGroup = retryGroup;
    }

    public String getValue() {
        return value;
    }

    public String getRetry() {
        return retry;
    }

    public String getGroup() {
        return group;
    }

    public String getRetryGroup() {
        return retryGroup;
    }
}
